package com.wr.recruit.service.service;

import com.wr.recruit.service.dao.dbo.AttachmentDbo;
import org.springframework.core.io.Resource;
import org.springframework.data.domain.Page;
import org.springframework.web.multipart.MultipartFile;

public interface AttachmentService {

    void store(String type, String code, MultipartFile file) throws Exception;

    Resource loadAsResource(String attachmentCode);

    void deleteFile(String type, String code, String attachmentCode) throws Exception;

}
